From 2f4db4e1b878230eb4445ce8e8bd3b84554d58c1 Mon Sep 17 00:00:00 2001 From: oliskoli Date: Tue, 4 Mar 2008 23:26:50 +0000 Subject: [PATCH] gbfile: Change signed into unsigned for back-buffer character (gbeof). git-svn-id: http://gpsbabel.googlecode.com/svn/trunk@3110 f51c46e8-681c-474f-0cfe-069cfd0219fb --- gpsbabel/gbfile.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gpsbabel/gbfile.c b/gpsbabel/gbfile.c index 978c9e70f..109845cf6 100644 --- a/gpsbabel/gbfile.c +++ b/gpsbabel/gbfile.c @@ -532,7 +532,7 @@ gbfeof(gbfile *file) res = gzeof(file->handle.gz); if (!res) { - signed char test; + unsigned char test; int len = gzread(file->handle.gz, &test, 1); if (len == 1) { /* No EOF, put the single byte back into stream */ -- 2.30.2